class Admin < ActiveRecord::Base
	has_many :questions
  has_one :user, :as => :compte
  accepts_nested_attributes_for :user
	validates_presence_of :pseudo
  validates_uniqueness_of :pseudo
end
